﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PropertyChangedEvent
{
    public class PropertyChangedEventArgs : EventArgs
    {
        private string name = null;
        private object oldValue = null;
        private object newValue = null;

        public string Name
        {
            get { return this.name; }
        }
        public object OldValue
        {
            get { return this.oldValue; }
        }
        public object NewValue
        {
            get { return this.newValue; }
        }

        public PropertyChangedEventArgs(string name, object oldValue, object newValue)
        {
            this.name = name;
            this.oldValue = oldValue;
            this.newValue = newValue;
        }
    }
}
